package com.example.train_operate.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.example.train_operate.entity.Instruction;
import com.example.train_operate.util.Result;

import java.util.List;

public interface InstructionService extends IService<Instruction> {
    Result addInstruction(Instruction instruction);
    Result updateInstruction(Instruction instruction);
    Result deleteInstruction(Integer instructionId);
    Result getInstructionById(Integer instructionId);
    List<Instruction> list();
}
